package com.cheer.service;

import com.cheer.entity.ExMatchUserEntity;
import com.cheer.enums.OaIntegralRuleEnum;
import com.cheer.vo.OaTaskInfoVO;
import com.cheer.vo.TaskInfoVO;

import java.util.List;

public interface TaskService {

    /**
     * 获取任务状态
     * @param openId
     * @return
     */
    List<TaskInfoVO> getTaskStatus(String openId, ExMatchUserEntity exMatchUserEntity);

    /**
     * 获取任务信息
     * @param openid
     * @return
     */
    OaTaskInfoVO task(String openid, ExMatchUserEntity exUserByOpenId);

    /**
     * 执行任务
     * @param userId
     * @param openid
     * @param activity
     */
    void execTask(Integer userId, String openid, OaIntegralRuleEnum activity);

}
